package com.phone.handle;

import org.hibernate.Session;

import java.util.Date;
import java.util.List;

/**
 * Created by tisen on 2017/8/7.
 */
public class DataHandle<T> {

    private Session session;

    public DataHandle(Session session) {
        this.session = session;
    }

    public Session getSession() {
        return session;
    }

    public void setSession(Session session) {
        this.session = session;
    }

//    public <T>T get(String id){
//        return session.get(Class<T>,id);
//    }
}
